<html>
  <head>
    <meta charset="UTF-8" />
    <title>智慧园区管理平台</title>
    <link rel="stylesheet" type="text/css" href="./html/css/common.css" />
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
    <script src="./html/js/server.js"></script>
  </head>

  <body>
    <iframe
      id="myframe"
      width="100%"
      height="100%"
      frameborder="0"
      src="./html/login.html"
    ></iframe>
    <script>
      login = function (area) {
        let path = area == 1 ? "./html/index.html" : "/xeo-i-building";
        setTimeout(function () {
          frames["myframe"].src = path;
        }, 500);
      };
    </script>
  </body>
</html>
